<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SimpleWindow: RoutedEventArgs.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SimpleWindow
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('_routed_event_args_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">RoutedEventArgs.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &quot;Keys.h&quot;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;Point.h&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;RoutedEvent.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;ScrollEnums.h&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &quot;Size.h&quot;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#include &lt;type_traits&gt;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="keyword">namespace </span>sw</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span>{</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>    <span class="keyword">struct </span>RoutedEventArgs; <span class="comment">// RoutedEvent.h</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>    <span class="keyword">template</span> &lt;RoutedEventType TYPE&gt;</div>
<div class="foldopen" id="foldopen00019" data-start="{" data-end="};">
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="structsw_1_1_routed_event_args_of_type.html">   19</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a> {</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structsw_1_1_routed_event_args_of_type.html#a3fc47b03d3857d9ec7e9bb3c40a61b79">   23</a></span>        <span class="keyword">static</span> <span class="keyword">constexpr</span> RoutedEventType <a class="code hl_variable" href="structsw_1_1_routed_event_args_of_type.html#a3fc47b03d3857d9ec7e9bb3c40a61b79">EventType</a> = <a class="code hl_class" href="classsw_1_1_dictionary.html">TYPE</a>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>        <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>()</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>            : <a class="code hl_struct" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a>(<a class="code hl_variable" href="structsw_1_1_routed_event_args_of_type.html#a3fc47b03d3857d9ec7e9bb3c40a61b79">EventType</a>)</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>        {</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>        }</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    };</div>
</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T, <span class="keyword">typename</span> = <span class="keywordtype">void</span>&gt;</div>
<div class="foldopen" id="foldopen00035" data-start="{" data-end="};">
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structsw_1_1___has_event_type.html">   35</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1___has_event_type.html">_HasEventType</a> : std::false_type {</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    };</div>
</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00042" data-start="{" data-end="};">
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="structsw_1_1___has_event_type_3_01_t_00_01decltype_07void_07std_1_1declval_3_01_t_01_4_07_08_8_event_type_08_08_4.html">   42</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1___has_event_type.html">_HasEventType</a>&lt;T, <a class="code hl_class" href="classsw_1_1_dictionary.html">decltype</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">void</a>(std::<a class="code hl_class" href="classsw_1_1_dictionary.html">declval</a>&lt;T&gt;().EventType))&gt; : std::true_type {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    };</div>
</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div>
<div class="foldopen" id="foldopen00049" data-start="{" data-end="};">
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="structsw_1_1___is_typed_routed_event_args.html">   49</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1___is_typed_routed_event_args.html">_IsTypedRoutedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1___has_event_type.html">_HasEventType</a>&lt;T&gt; {</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>    };</div>
</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="foldopen" id="foldopen00055" data-start="{" data-end="};">
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structsw_1_1_size_changed_event_args.html">   55</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_size_changed_event_args.html">SizeChangedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_SizeChanged&gt; {</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>        <a class="code hl_struct" href="structsw_1_1_size.html">Size</a> newClientSize; <span class="comment">// 用户区的新尺寸</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>        <a class="code hl_struct" href="structsw_1_1_size_changed_event_args.html">SizeChangedEventArgs</a>(<a class="code hl_struct" href="structsw_1_1_size.html">Size</a> newClientSize)</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>            : newClientSize(newClientSize)</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>        {</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>        }</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    };</div>
</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="foldopen" id="foldopen00066" data-start="{" data-end="};">
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="structsw_1_1_position_changed_event_args.html">   66</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_position_changed_event_args.html">PositionChangedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_PositionChanged&gt; {</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> newClientPosition; <span class="comment">// 移动后用户区左上角的位置</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>        <a class="code hl_struct" href="structsw_1_1_position_changed_event_args.html">PositionChangedEventArgs</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> newClientPosition)</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>            : newClientPosition(newClientPosition)</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>        {</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>        }</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    };</div>
</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span> </div>
<div class="foldopen" id="foldopen00077" data-start="{" data-end="};">
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="structsw_1_1_got_char_event_args.html">   77</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_got_char_event_args.html">GotCharEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_GotChar&gt; {</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>        <span class="keywordtype">wchar_t</span> ch;     <span class="comment">// 输入的字符</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>        <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags; <span class="comment">// 附加信息</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>        <a class="code hl_struct" href="structsw_1_1_got_char_event_args.html">GotCharEventArgs</a>(<span class="keywordtype">wchar_t</span> ch, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>            : ch(ch), flags(flags)</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>        {</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>        }</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    };</div>
</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span> </div>
<div class="foldopen" id="foldopen00089" data-start="{" data-end="};">
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="structsw_1_1_key_down_event_args.html">   89</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_key_down_event_args.html">KeyDownEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_KeyDown&gt; {</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>        VirtualKey key; <span class="comment">// 虚拟按键</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>        <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags; <span class="comment">// 附加信息</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>        <a class="code hl_struct" href="structsw_1_1_key_down_event_args.html">KeyDownEventArgs</a>(VirtualKey key, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>            : key(key), flags(flags)</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>        {</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>        }</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>    };</div>
</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="foldopen" id="foldopen00101" data-start="{" data-end="};">
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="structsw_1_1_key_up_event_args.html">  101</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_key_up_event_args.html">KeyUpEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_KeyUp&gt; {</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>        VirtualKey key; <span class="comment">// 虚拟按键</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>        <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags; <span class="comment">// 附加信息</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>        <a class="code hl_struct" href="structsw_1_1_key_up_event_args.html">KeyUpEventArgs</a>(VirtualKey key, <a class="code hl_struct" href="structsw_1_1_key_flags.html">KeyFlags</a> flags)</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>            : key(key), flags(flags)</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>        {</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>        }</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    };</div>
</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="foldopen" id="foldopen00113" data-start="{" data-end="};">
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="structsw_1_1_mouse_move_event_args.html">  113</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_mouse_move_event_args.html">MouseMoveEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_MouseMove&gt; {</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition; <span class="comment">// 鼠标位置</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>        MouseKey keyState;   <span class="comment">// 按键状态</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>        <a class="code hl_struct" href="structsw_1_1_mouse_move_event_args.html">MouseMoveEventArgs</a>(<a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>            : mousePosition(mousePosition), keyState(keyState)</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>        {</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>        }</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>    };</div>
</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="foldopen" id="foldopen00125" data-start="{" data-end="};">
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="structsw_1_1_mouse_wheel_event_args.html">  125</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_mouse_wheel_event_args.html">MouseWheelEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_MouseWheel&gt; {</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span>        <span class="keywordtype">int</span> wheelDelta;      <span class="comment">// 滚轮滚动的距离，为120的倍数</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition; <span class="comment">// 鼠标位置</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>        MouseKey keyState;   <span class="comment">// 按键状态</span></div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>        <a class="code hl_struct" href="structsw_1_1_mouse_wheel_event_args.html">MouseWheelEventArgs</a>(<span class="keywordtype">int</span> wheelDelta, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>            : wheelDelta(wheelDelta), mousePosition(mousePosition), keyState(keyState)</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        {</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>        }</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>    };</div>
</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span> </div>
<div class="foldopen" id="foldopen00138" data-start="{" data-end="};">
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="structsw_1_1_mouse_button_down_event_args.html">  138</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_mouse_button_down_event_args.html">MouseButtonDownEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_MouseButtonDown&gt; {</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>        MouseKey key;        <span class="comment">// 按下的按键（左键、中间、右键）</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition; <span class="comment">// 鼠标位置</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span>        MouseKey keyState;   <span class="comment">// 按键状态</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span>        <a class="code hl_struct" href="structsw_1_1_mouse_button_down_event_args.html">MouseButtonDownEventArgs</a>(MouseKey key, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>            : key(key), mousePosition(mousePosition), keyState(keyState)</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span>        {</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>        }</div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>    };</div>
</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
<div class="foldopen" id="foldopen00151" data-start="{" data-end="};">
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="structsw_1_1_mouse_button_up_event_args.html">  151</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_mouse_button_up_event_args.html">MouseButtonUpEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_MouseButtonUp&gt; {</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>        MouseKey key;        <span class="comment">// 抬起的按键（左键、中间、右键）</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition; <span class="comment">// 鼠标位置</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>        MouseKey keyState;   <span class="comment">// 按键状态</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>        <a class="code hl_struct" href="structsw_1_1_mouse_button_up_event_args.html">MouseButtonUpEventArgs</a>(MouseKey key, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition, MouseKey keyState)</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>            : key(key), mousePosition(mousePosition), keyState(keyState)</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>        {</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>        }</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>    };</div>
</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span> </div>
<div class="foldopen" id="foldopen00164" data-start="{" data-end="};">
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"><a class="line" href="structsw_1_1_show_context_menu_event_args.html">  164</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_show_context_menu_event_args.html">ShowContextMenuEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_ShowContextMenu&gt; {</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>        <span class="keywordtype">bool</span> cancel = <span class="keyword">false</span>; <span class="comment">// 是否取消显示上下文菜单</span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>        <span class="keywordtype">bool</span> isKeyboardMsg;  <span class="comment">// 消息是否由按下快捷键（Shift+F10、VK_APPS）产生</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>        <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition; <span class="comment">// 鼠标在屏幕中的位置</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>        <a class="code hl_struct" href="structsw_1_1_show_context_menu_event_args.html">ShowContextMenuEventArgs</a>(<span class="keywordtype">bool</span> isKeyboardMsg, <a class="code hl_struct" href="structsw_1_1_point.html">Point</a> mousePosition)</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>            : isKeyboardMsg(isKeyboardMsg), mousePosition(mousePosition)</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>        {</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>        }</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span>    };</div>
</div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span> </div>
<div class="foldopen" id="foldopen00177" data-start="{" data-end="};">
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"><a class="line" href="structsw_1_1_drop_files_event_args.html">  177</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_drop_files_event_args.html">DropFilesEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;UIElement_DropFiles&gt; {</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">HDROP</a> hDrop; <span class="comment">// 描述拖入文件的句柄</span></div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        <a class="code hl_struct" href="structsw_1_1_drop_files_event_args.html">DropFilesEventArgs</a>(<a class="code hl_class" href="classsw_1_1_dictionary.html">HDROP</a> hDrop)</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>            : hDrop(hDrop)</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>        {</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>        }</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>    };</div>
</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span> </div>
<div class="foldopen" id="foldopen00188" data-start="{" data-end="};">
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="structsw_1_1_window_closing_event_args.html">  188</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_window_closing_event_args.html">WindowClosingEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;Window_Closing&gt; {</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>        <span class="keywordtype">bool</span> cancel = <span class="keyword">false</span>; <span class="comment">// 是否取消本次关闭</span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>    };</div>
</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span> </div>
<div class="foldopen" id="foldopen00195" data-start="{" data-end="};">
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="structsw_1_1_scrolling_event_args.html">  195</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_scrolling_event_args.html">ScrollingEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;Layer_Scrolling&gt; {</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span>        <span class="keywordtype">bool</span> cancel = <span class="keyword">false</span>;         <span class="comment">// 是否取消滚动条默认行为</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>        ScrollOrientation scrollbar; <span class="comment">// 滚动条类型</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>        ScrollEvent event;           <span class="comment">// 滚动条事件</span></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>        <span class="keywordtype">double</span> pos;                  <span class="comment">// 当event为ThumbPosition或ThubmTrack时表示当前滚动条位置，其他情况固定为0</span></div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>        <a class="code hl_struct" href="structsw_1_1_scrolling_event_args.html">ScrollingEventArgs</a>(ScrollOrientation scrollbar, ScrollEvent event, <span class="keywordtype">double</span> pos)</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>            : scrollbar(scrollbar), event(event), pos(pos)</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>        {</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>        }</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span>    };</div>
</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span> </div>
<div class="foldopen" id="foldopen00209" data-start="{" data-end="};">
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="structsw_1_1_list_view_check_state_changed_event_args.html">  209</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_list_view_check_state_changed_event_args.html">ListViewCheckStateChangedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;ListView_CheckStateChanged&gt; {</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span>        <span class="keywordtype">int</span> index; <span class="comment">// 改变项的索引</span></div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span>        <a class="code hl_struct" href="structsw_1_1_list_view_check_state_changed_event_args.html">ListViewCheckStateChangedEventArgs</a>(<span class="keywordtype">int</span> index)</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span>            : index(index)</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span>        {</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span>        }</div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span>    };</div>
</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span> </div>
<div class="foldopen" id="foldopen00220" data-start="{" data-end="};">
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="structsw_1_1_list_view_header_clicked_event_args.html">  220</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_list_view_header_clicked_event_args.html">ListViewHeaderClickedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a> {</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span>        <span class="keywordtype">int</span> index; <span class="comment">// 被点击列标题的索引</span></div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span>        <a class="code hl_struct" href="structsw_1_1_list_view_header_clicked_event_args.html">ListViewHeaderClickedEventArgs</a>(RoutedEventType <a class="code hl_variable" href="structsw_1_1_routed_event_args.html#a46df8118b89dcc6c494cdbded901b082">eventType</a>, <span class="keywordtype">int</span> index)</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno">  223</span>            : <a class="code hl_function" href="structsw_1_1_routed_event_args.html#ad6e6da62f114abfabb682afd38b6f7a3">RoutedEventArgs</a>(<a class="code hl_variable" href="structsw_1_1_routed_event_args.html#a46df8118b89dcc6c494cdbded901b082">eventType</a>), index(index)</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno">  224</span>        {</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>        }</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span>    };</div>
</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno">  227</span> </div>
<div class="foldopen" id="foldopen00231" data-start="{" data-end="};">
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"><a class="line" href="structsw_1_1_list_view_item_clicked_event_args.html">  231</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_list_view_item_clicked_event_args.html">ListViewItemClickedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args.html">RoutedEventArgs</a> {</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span>        <span class="keywordtype">int</span> row; <span class="comment">// 被点击的行</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span>        <span class="keywordtype">int</span> col; <span class="comment">// 被点击的列</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>        <a class="code hl_struct" href="structsw_1_1_list_view_item_clicked_event_args.html">ListViewItemClickedEventArgs</a>(RoutedEventType <a class="code hl_variable" href="structsw_1_1_routed_event_args.html#a46df8118b89dcc6c494cdbded901b082">eventType</a>, <span class="keywordtype">int</span> row, <span class="keywordtype">int</span> col)</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>            : <a class="code hl_function" href="structsw_1_1_routed_event_args.html#ad6e6da62f114abfabb682afd38b6f7a3">RoutedEventArgs</a>(<a class="code hl_variable" href="structsw_1_1_routed_event_args.html#a46df8118b89dcc6c494cdbded901b082">eventType</a>), row(row), col(col)</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>        {</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>        }</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span>    };</div>
</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span> </div>
<div class="foldopen" id="foldopen00243" data-start="{" data-end="};">
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"><a class="line" href="structsw_1_1_date_time_picker_time_changed_event_args.html">  243</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_date_time_picker_time_changed_event_args.html">DateTimePickerTimeChangedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;DateTimePicker_TimeChanged&gt; {</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">SYSTEMTIME</a> time; <span class="comment">// 时间的新值</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span>        <a class="code hl_struct" href="structsw_1_1_date_time_picker_time_changed_event_args.html">DateTimePickerTimeChangedEventArgs</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">SYSTEMTIME</a> &amp;time)</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno">  246</span>            : time(time)</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno">  247</span>        {</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span>        }</div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span>    };</div>
</div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span> </div>
<div class="foldopen" id="foldopen00254" data-start="{" data-end="};">
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"><a class="line" href="structsw_1_1_month_calendar_time_changed_event_args.html">  254</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_month_calendar_time_changed_event_args.html">MonthCalendarTimeChangedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;MonthCalendar_TimeChanged&gt; {</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>        <a class="code hl_class" href="classsw_1_1_dictionary.html">SYSTEMTIME</a> time; <span class="comment">// 时间的新值</span></div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>        <a class="code hl_struct" href="structsw_1_1_month_calendar_time_changed_event_args.html">MonthCalendarTimeChangedEventArgs</a>(<span class="keyword">const</span> <a class="code hl_class" href="classsw_1_1_dictionary.html">SYSTEMTIME</a> &amp;time)</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span>            : time(time)</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span>        {</div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno">  259</span>        }</div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>    };</div>
</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span> </div>
<div class="foldopen" id="foldopen00265" data-start="{" data-end="};">
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"><a class="line" href="structsw_1_1_sys_link_clicked_event_args.html">  265</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_sys_link_clicked_event_args.html">SysLinkClickedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;SysLink_Clicked&gt; {</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span>        <span class="keywordtype">wchar_t</span> *id;  <span class="comment">// 被单击链接的id</span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span>        <span class="keywordtype">wchar_t</span> *url; <span class="comment">// 被单击链接的url（即href）</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span>        <a class="code hl_struct" href="structsw_1_1_sys_link_clicked_event_args.html">SysLinkClickedEventArgs</a>(<span class="keywordtype">wchar_t</span> *<span class="keywordtype">id</span>, <span class="keywordtype">wchar_t</span> *url)</div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span>            : id(<span class="keywordtype">id</span>), url(url)</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>        {</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>        }</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span>    };</div>
</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span> </div>
<div class="foldopen" id="foldopen00277" data-start="{" data-end="};">
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"><a class="line" href="structsw_1_1_hot_key_value_changed_event_args.html">  277</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="structsw_1_1_hot_key_value_changed_event_args.html">HotKeyValueChangedEventArgs</a> : <a class="code hl_struct" href="structsw_1_1_routed_event_args_of_type.html">RoutedEventArgsOfType</a>&lt;HotKeyControl_ValueChanged&gt; {</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span>        VirtualKey key;          <span class="comment">// 按键</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span>        HotKeyModifier modifier; <span class="comment">// 辅助按键</span></div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span>        <a class="code hl_struct" href="structsw_1_1_hot_key_value_changed_event_args.html">HotKeyValueChangedEventArgs</a>(VirtualKey key, HotKeyModifier modifier)</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span>            : key(key), modifier(modifier)</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span>        {</div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span>        }</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span>    };</div>
</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span>}</div>
<div class="ttc" id="aclasssw_1_1_dictionary_html"><div class="ttname"><a href="classsw_1_1_dictionary.html">sw::Dictionary</a></div><div class="ttdoc">字典类，内部维护了一个指向std::map的智能指针</div><div class="ttdef"><b>Definition</b> Dictionary.h:24</div></div>
<div class="ttc" id="astructsw_1_1___has_event_type_html"><div class="ttname"><a href="structsw_1_1___has_event_type.html">sw::_HasEventType</a></div><div class="ttdoc">结构体模板，用于检测类型T是否含有名为EventType的静态字段</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:35</div></div>
<div class="ttc" id="astructsw_1_1___is_typed_routed_event_args_html"><div class="ttname"><a href="structsw_1_1___is_typed_routed_event_args.html">sw::_IsTypedRoutedEventArgs</a></div><div class="ttdoc">结构体模板，用于检测类型T是否包含事件类型信息</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:49</div></div>
<div class="ttc" id="astructsw_1_1_date_time_picker_time_changed_event_args_html"><div class="ttname"><a href="structsw_1_1_date_time_picker_time_changed_event_args.html">sw::DateTimePickerTimeChangedEventArgs</a></div><div class="ttdoc">DateTimePicker控件时间改变事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:243</div></div>
<div class="ttc" id="astructsw_1_1_drop_files_event_args_html"><div class="ttname"><a href="structsw_1_1_drop_files_event_args.html">sw::DropFilesEventArgs</a></div><div class="ttdoc">文件拖放事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:177</div></div>
<div class="ttc" id="astructsw_1_1_got_char_event_args_html"><div class="ttname"><a href="structsw_1_1_got_char_event_args.html">sw::GotCharEventArgs</a></div><div class="ttdoc">输入字符事件类型参数</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:77</div></div>
<div class="ttc" id="astructsw_1_1_hot_key_value_changed_event_args_html"><div class="ttname"><a href="structsw_1_1_hot_key_value_changed_event_args.html">sw::HotKeyValueChangedEventArgs</a></div><div class="ttdoc">热键框值改变事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:277</div></div>
<div class="ttc" id="astructsw_1_1_key_down_event_args_html"><div class="ttname"><a href="structsw_1_1_key_down_event_args.html">sw::KeyDownEventArgs</a></div><div class="ttdoc">键盘按键按下事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:89</div></div>
<div class="ttc" id="astructsw_1_1_key_flags_html"><div class="ttname"><a href="structsw_1_1_key_flags.html">sw::KeyFlags</a></div><div class="ttdoc">https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input#keystroke-message-flags</div><div class="ttdef"><b>Definition</b> Keys.h:11</div></div>
<div class="ttc" id="astructsw_1_1_key_up_event_args_html"><div class="ttname"><a href="structsw_1_1_key_up_event_args.html">sw::KeyUpEventArgs</a></div><div class="ttdoc">键盘按键抬起事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:101</div></div>
<div class="ttc" id="astructsw_1_1_list_view_check_state_changed_event_args_html"><div class="ttname"><a href="structsw_1_1_list_view_check_state_changed_event_args.html">sw::ListViewCheckStateChangedEventArgs</a></div><div class="ttdoc">列表视图某个复选框选中状态改变的事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:209</div></div>
<div class="ttc" id="astructsw_1_1_list_view_header_clicked_event_args_html"><div class="ttname"><a href="structsw_1_1_list_view_header_clicked_event_args.html">sw::ListViewHeaderClickedEventArgs</a></div><div class="ttdoc">列表视图的列标题单击与双击事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:220</div></div>
<div class="ttc" id="astructsw_1_1_list_view_item_clicked_event_args_html"><div class="ttname"><a href="structsw_1_1_list_view_item_clicked_event_args.html">sw::ListViewItemClickedEventArgs</a></div><div class="ttdoc">列表视图项单击与双击事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:231</div></div>
<div class="ttc" id="astructsw_1_1_month_calendar_time_changed_event_args_html"><div class="ttname"><a href="structsw_1_1_month_calendar_time_changed_event_args.html">sw::MonthCalendarTimeChangedEventArgs</a></div><div class="ttdoc">月历控件时间改变事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:254</div></div>
<div class="ttc" id="astructsw_1_1_mouse_button_down_event_args_html"><div class="ttname"><a href="structsw_1_1_mouse_button_down_event_args.html">sw::MouseButtonDownEventArgs</a></div><div class="ttdoc">鼠标按键按下事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:138</div></div>
<div class="ttc" id="astructsw_1_1_mouse_button_up_event_args_html"><div class="ttname"><a href="structsw_1_1_mouse_button_up_event_args.html">sw::MouseButtonUpEventArgs</a></div><div class="ttdoc">鼠标按键抬起事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:151</div></div>
<div class="ttc" id="astructsw_1_1_mouse_move_event_args_html"><div class="ttname"><a href="structsw_1_1_mouse_move_event_args.html">sw::MouseMoveEventArgs</a></div><div class="ttdoc">鼠标移动事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:113</div></div>
<div class="ttc" id="astructsw_1_1_mouse_wheel_event_args_html"><div class="ttname"><a href="structsw_1_1_mouse_wheel_event_args.html">sw::MouseWheelEventArgs</a></div><div class="ttdoc">鼠标滚轮滚动事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:125</div></div>
<div class="ttc" id="astructsw_1_1_point_html"><div class="ttname"><a href="structsw_1_1_point.html">sw::Point</a></div><div class="ttdoc">表示相对于左上角的点坐标</div><div class="ttdef"><b>Definition</b> Point.h:11</div></div>
<div class="ttc" id="astructsw_1_1_position_changed_event_args_html"><div class="ttname"><a href="structsw_1_1_position_changed_event_args.html">sw::PositionChangedEventArgs</a></div><div class="ttdoc">位置改变事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:66</div></div>
<div class="ttc" id="astructsw_1_1_routed_event_args_html"><div class="ttname"><a href="structsw_1_1_routed_event_args.html">sw::RoutedEventArgs</a></div><div class="ttdoc">路由事件的参数</div><div class="ttdef"><b>Definition</b> RoutedEvent.h:133</div></div>
<div class="ttc" id="astructsw_1_1_routed_event_args_html_a46df8118b89dcc6c494cdbded901b082"><div class="ttname"><a href="structsw_1_1_routed_event_args.html#a46df8118b89dcc6c494cdbded901b082">sw::RoutedEventArgs::eventType</a></div><div class="ttdeci">RoutedEventType eventType</div><div class="ttdoc">事件类型</div><div class="ttdef"><b>Definition</b> RoutedEvent.h:137</div></div>
<div class="ttc" id="astructsw_1_1_routed_event_args_html_ad6e6da62f114abfabb682afd38b6f7a3"><div class="ttname"><a href="structsw_1_1_routed_event_args.html#ad6e6da62f114abfabb682afd38b6f7a3">sw::RoutedEventArgs::RoutedEventArgs</a></div><div class="ttdeci">RoutedEventArgs(RoutedEventType eventType)</div><div class="ttdoc">RoutedEventArgs构造函数</div></div>
<div class="ttc" id="astructsw_1_1_routed_event_args_of_type_html"><div class="ttname"><a href="structsw_1_1_routed_event_args_of_type.html">sw::RoutedEventArgsOfType</a></div><div class="ttdoc">表示特定类型路由事件的事件参数类型，继承自该类的事件参数可以用于RegisterRoutedEvent模板函数</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:19</div></div>
<div class="ttc" id="astructsw_1_1_routed_event_args_of_type_html_a3fc47b03d3857d9ec7e9bb3c40a61b79"><div class="ttname"><a href="structsw_1_1_routed_event_args_of_type.html#a3fc47b03d3857d9ec7e9bb3c40a61b79">sw::RoutedEventArgsOfType::EventType</a></div><div class="ttdeci">static constexpr RoutedEventType EventType</div><div class="ttdoc">路由事件的类型，RegisterRoutedEvent模板函数使用此字段注册事件</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:23</div></div>
<div class="ttc" id="astructsw_1_1_scrolling_event_args_html"><div class="ttname"><a href="structsw_1_1_scrolling_event_args.html">sw::ScrollingEventArgs</a></div><div class="ttdoc">窗口/面板滚动条滚动事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:195</div></div>
<div class="ttc" id="astructsw_1_1_show_context_menu_event_args_html"><div class="ttname"><a href="structsw_1_1_show_context_menu_event_args.html">sw::ShowContextMenuEventArgs</a></div><div class="ttdoc">显示用户自定义上下文菜单的事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:164</div></div>
<div class="ttc" id="astructsw_1_1_size_changed_event_args_html"><div class="ttname"><a href="structsw_1_1_size_changed_event_args.html">sw::SizeChangedEventArgs</a></div><div class="ttdoc">尺寸改变事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:55</div></div>
<div class="ttc" id="astructsw_1_1_size_html"><div class="ttname"><a href="structsw_1_1_size.html">sw::Size</a></div><div class="ttdoc">尺寸</div><div class="ttdef"><b>Definition</b> Size.h:11</div></div>
<div class="ttc" id="astructsw_1_1_sys_link_clicked_event_args_html"><div class="ttname"><a href="structsw_1_1_sys_link_clicked_event_args.html">sw::SysLinkClickedEventArgs</a></div><div class="ttdoc">SysLink控件链接被单击事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:265</div></div>
<div class="ttc" id="astructsw_1_1_window_closing_event_args_html"><div class="ttname"><a href="structsw_1_1_window_closing_event_args.html">sw::WindowClosingEventArgs</a></div><div class="ttdoc">窗口正在关闭事件参数类型</div><div class="ttdef"><b>Definition</b> RoutedEventArgs.h:188</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_01fcd3835fb4e7d9331b722d86291b65.html">sw</a></li><li class="navelem"><a class="el" href="dir_ed5f6ece24ffcc4307a76d27c2494db3.html">inc</a></li><li class="navelem"><b>RoutedEventArgs.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
